package com.wb3.organizer.dao;

import java.util.List;

import com.wb3.organizer.model.Account;
import com.wb3.organizer.model.Appointment;

/**
 * 数据库处理层接口，由service层进行调用
 * 实现对Appointment的增删改查
 * @author pharen
 */
public interface AppointmentDAO {

	public void save(Appointment appointment);

	public void update(Appointment appointment);

	public void delete(Appointment appointment);
	
	public Appointment getAppointmentById(int app_id);

	public List<Appointment> getAllByAccount(Account account);
}
